<?php

/*
 * +----------------------------------------------------------------------
 * 作 者: xinglou <xinglou1@foxmail.com>
 * +----------------------------------------------------------------------
 * 创建日期：2015-06-24
 * ------------------------------------------------------------------------
 * 文件描述：系统首页
 * ------------------------------------------------------------------------
 * 升级记录：
 * ------------------------------------------------------------------------
 */
class IndexAction extends CommonAction
{

    /**
     * 首页显示
     */
    public function index()
    {
        $this->display();
    }

    /**
     * 删除Runtime文件夹
     */
    function delRuntime()
    {
        import("ORG.Io.Dir");
        Dir::delDir(RUNTIME_PATH, true);
        $this->ajaxReturn(null, '更新缓存成功！', 1);
    }
}
?>